package com.goldcn.user.dao;

import com.goldcn.user.dto.StateDto;
import com.goldcn.user.model.Permissions;

import java.util.List;

public interface PermissionsMapper {
    int deleteByPrimaryKey(Long psID);

    int insert(Permissions record);

    int insertSelective(Permissions record);

    Permissions selectByPrimaryKey(Long psID);

    int updateByPrimaryKeySelective(Permissions record);

    int updateByPrimaryKey(Permissions record);

    int updateIsStop(StateDto stateDto);

    List<Permissions> selectByPermissions(Permissions record);

    int insertBatch(List<Permissions> record);

    List<Permissions> selectAll(Permissions record);
}